public class demo04 {
    public static void main(String[] args) {
        int a = 85 ;
        String grade ;
        grade = a >= 90 ? "优秀" : "合格" ;
        grade = a < 60 ? "不合格" : grade;
        System.out.println(grade);
    }
}